package com.dinglian.ots.vo.collection;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author wangbo
 */
@Data
public class CollectionVo {

    @NotNull(message = "用户ID不能为空")
    private Integer userId;

    @NotNull(message = "目标ID不能为空")
    private Integer targetId;

    @NotNull(message = "类型不能为空")
    private Integer type;

    @NotNull(message = "是否取消不能为空")
    private boolean isCancel;
}
